home *** CD-ROM | disk | FTP | other *** search
- ; This script assumes you are using GhostScript 5.10, as found on IrseeSoft's
- ; site.
- ; If you're not using TurboPrint, you'll need to comment out the first
- ; GS line and uncomment another line.
-
- failat 21
-
- YAM:Rexx/PSMail/PSMailPrep ; this sets up an environment variable.
- echo >t:YAMPrintStatus "." noline
- run <>nil: YAM:Rexx/PSMail/PSMailReq
-
- cd GhostScript:
- ; For TurboPrint:
- GS -sDEVICE=turboprint -dBATCH -dNOPAUSE -q t:YAMMail.ps -c quit
-
- ; For Canon BJ200 series (using GhostScript's internal driver):
- ;GS -sDEVICE=bj200 -sOutputFile=par: -dBATCH -dNOPAUSE -q t:YAMMail.ps -c quit
-
- ; For early Epson Stylus Color series (using GhostScript's internal driver):
- ;GS -sDEVICE=stcolor -sOutputFile=par: -dBATCH -dNOPAUSE -q t:YAMMail.ps -c quit
-
- ; For HP Laserjet 4L (using GhostScript's internal driver):
- ;GS -sDEVICE=ljet4 -sOutputFile=par: -r300x300 -dBATCH -dNOPAUSE -q t:YAMMail.ps -c quit
-
- ; For Epson Stylus Color 400/600 series (using GhostScript's uniprint driver):
- ; (You may need to install the profiles from the goodies archive!)
- ;GS -sOutputFile=par: -dBATCH -dNOPAUSE -q @stc600pl.upp t:YAMMail.ps -c quit
-
- ; To display on a custom screen, as a test:
- ;GS -sDEVICE=amiga_custom -r90x90 -dBATCH -dNOPAUSE -q t:YAMMail.ps -c quit
-
- ; To stream to a real PostScript printer on SER:
- ;GS -sDEVICE=pswrite -sOutputFile=ser: -dBATCH -dNOPAUSE -q t:YAMMail.ps -c quit
-
- ; You can change the device bit to use another built-in driver.
- ; To find out which devices your copy of GhostScript supports, open a shell
- ; and type ghostscript:gs -h
-
- delete t:YAMPrintStatus ; this will take down the requester
- delete t:YAMHeader#?.txt
- delete t:YAMPrintMail#?.txt
- delete t:YAMMail.ps
-